﻿using System;

namespace FloatDoubleVar
{
    class FloatDoubleVar
    {
        static void Main(string[] args)
        {
            double first = 34.567839023; //double between 15-16 digits
            float second = 12.345f;      //float max 7 digits
            double third = 8923.1234857; //double between 15-16 digits   
            float forth = 3456.091f;     //float max 7 digits

            Console.WriteLine("double = {0}, float = {1}f, double = {2}, float = {3}f",first,second,third,forth);

        }
    }
}
